package com.three.dao;

import java.util.HashMap;
import java.util.List;

import com.three.entity.Crollcall;


public interface CrollcallDao {

	public List<Crollcall> findCrollcallsByCid(Integer cid);
	
	public int addCrollcall(Integer cid,String name, String date);
	
	public int findLastInsertId();
	
	public int deleteCrollcallsByCid(Integer cid);
	
	public int updateCrollcallStates(Integer cid, String rollcallName,
			Integer attendance, Integer miss);
	
	public int updateCrollcallState(HashMap<String, Object> hashmap);
	
}
